#CalcBMIV2.py
#height, weight = eval(input("请输入身高(米)和体重(公斤)[逗号隔开]:"))
height, weight = eval(input(""))
bmi = weight / pow(height, 2)
print("BMI数值为:{:.2f}".format(bmi))
nat = ""
if bmi < 18.5:
    nat = "偏瘦"
elif 18.5 <= bmi <= 24:
    nat = "正常"
elif 24 <= bmi <= 28:
    nat = "偏胖"
else:
    nat = "肥胖"

who = ""
if bmi < 18.5:
    who = "偏瘦"
elif 18.5 <= bmi <= 25:
    who = "正常"
elif 25 <= bmi <= 30:
    who = "偏胖"
else:
    who = "肥胖"

print("BMI指标为:国际'{0}',国内'{1}'".format(who,nat))